/*
 *  研究
 */
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Dolls
{
    /// <summary>
    /// 研究建筑资源数据
    /// </summary>
    public class cResearchBuildResData
    {
        public eBuildingType mBuildType; //研究类型
        public int mLevel;         //研究等级
        public float mReaserchT;   //研究时间
        public float mWorkAddPrec; //工作效率增加
    }

    /// <summary>
    /// 研究战争机器数据
    /// </summary>
    public class cResearchMachineResData
    {
        public eMachineType mMachineType; //研究类型
        public int mLevel;         //研究等级
        public float mReaserchT;   //研究时间
        public float mWorkAddPrec; //工作效率增加
    }

    /// <summary>
    /// 研究类型
    /// </summary>
    public enum eResearchType
    {
        Null = 0,
        Building, //建筑
        Machine,  //战争机械
    }

    /// <summary>
    /// 研究数据
    /// </summary>
    public class cResearchData
    {
        public eResearchType mResearchType; //研究类型
        public cResearchBuildResData mBuildingData;
        public cResearchMachineResData mMachineData;
        public float mBT;
        public List<int> mDollsIdList = new List<int>();
    }

    /// <summary>
    /// 研究数据管理类
    /// </summary>
    public class cResearchManager
    {
        List<cResearchData> mBuildingReasearchs = new List<cResearchData>();
        List<cResearchData> mMachineReasearchs = new List<cResearchData>();


    }


}


